//
//  ThrowingBallGameScene.h
//  CanYouDoIt
//
//  Created by hoangtx on 7/17/13.
//
//

#ifndef CanYouDoIt_ThrowingBallGameScene_h
#define CanYouDoIt_ThrowingBallGameScene_h

#include "CountDownGameScene.h"
#include "MyLeftRightMovingButton.h"
using namespace cocos2d;

class ThrowingBallGameScene : public CountDownGameScene{
public:
    CCArray* ballArray;
    MyLeftRightMovingButton* movingBall;
    static CCScene* scene(int numberOfSeconds);
    static ThrowingBallGameScene* create(int numberOfSeconds);
    virtual void startGame();
    virtual void reset();
    virtual bool init();
    void scorePoint();
    void update(float dt);
    virtual void ccTouchesBegan(CCSet* touches, CCEvent* pEvent);
    virtual void ccTouchesMoved(CCSet* touches, CCEvent* pEvent);
    virtual void ccTouchesEnded(CCSet* touches, CCEvent* pEvent);
    CREATE_FUNC(ThrowingBallGameScene);
};


#endif
